package com.jinkaimen.goodcash.ui.adapter;

import com.ht.baselibs.ui.adapter.DefaultAdapter;
import com.ht.baselibs.ui.base.BaseActivity;
import com.ht.baselibs.ui.base.BaseViewHolder;
import com.jinkaimen.goodcash.bean.ShopBean;
import com.jinkaimen.goodcash.ui.holder.ShopManagerViewHolder;

import java.util.List;

public class ShopManagerAdapter extends DefaultAdapter<ShopBean> {

    private BaseActivity mContext;

    public ShopManagerAdapter(BaseActivity context, List<ShopBean> data) {
        super(null, data);
        this.mContext = context;
    }

    @Override
    protected BaseViewHolder<ShopBean> getViewHolder(int position, List<ShopBean> mData) {
        return new ShopManagerViewHolder(mContext);
    }
}
